from flask_restful import reqparse
from api.api import ElasticSearchQueryResource


class WetaoKOLInfoResource(ElasticSearchQueryResource):
    pass


class WetaoKOLMatchResource(ElasticSearchQueryResource):
    pass


wetao_kol_match_parser = reqparse.RequestParser()
wetao_kol_match_parser.add_argument('youka_id', type=str, location='json')
wetao_kol_match_parser.add_argument('term', type=str, location='json')
wetao_kol_match_parser.add_argument('filters', type=dict, location='json')
wetao_kol_match_parser.add_argument('order_by', type=str, location='json')
wetao_kol_match_parser.add_argument('from', type=int, location='json')
wetao_kol_match_parser.add_argument('size', type=int, location='json')
wetao_kol_match_parser.add_argument('filter_keywords', type=list, location='json')
wetao_kol_match_parser.add_argument('biz_code', type=str, location='json')
wetao_kol_match_parser.add_argument('biz_codes', type=list, location='json')
wetao_kol_match_parser.add_argument('brand', type=str, location='json')
wetao_kol_match_parser.add_argument('highlight', type=bool, location='json')
wetao_kol_match_parser.add_argument('backend', type=bool, location='json')
